<%@ include file="header.jsp"%>
<script type="text/javascript">
			function setCurrentMenu(){
			}
</script>
<br/>
<%
	if(session.getAttribute("userName")==null && session.getAttribute("adminName")==null){
	response.sendRedirect("login.jsp");
  	}
%>
<%
Map<String,String> map=null;
if(request.getAttribute("exceptionmap")!=null){
map=(HashMap<String,String>)request.getAttribute("exceptionmap"); 
}
%>

 <div id="container_demo" >
   <div id="wrapper">
<div  id="login" class="animate form" ><!-- ParagraphBodyStart -->
		<h1>Change your Password</h1>

		<form  action="ChangePassword" method="POST" name="forgotForm" onSubmit="return validatePassword()">
			<p> 
                <label for="password" class="youpasswd" data-icon="p">Old Password </label>
                 <input id="oldpassword" name="oldpassword" maxlength="90" required="required" type="password" placeholder="123" />
                 <label style="color: red">
		              <%if(map!=null && map.get("oldpassword")!=null){
						out.print(map.get("oldpassword"));
					} %>
                 </label>
            </p>
            <p> 
               <label for="password" class="youpasswd" data-icon="p">New Password </label>
               <input id="newpassword" name="newpassword" maxlength="90" required="required" type="password" placeholder="123" />
                                    
            </p>
             <p> 
                <label for="password" class="youpasswd" data-icon="p">Confirm Password </label>
                <input id="confirmpassword" name="confirmpassword" maxlength="90" required="required" type="password" placeholder="123" />
                                    
            </p>
             <p style="color: red" id="passwordmsg"> 
             <%if(map!=null && map.get("password")!=null){
							out.print(map.get("password"));
			} %>
             </p>
             <p> 
                  <input type="submit" value="Submit" style="cursor: pointer;width:115px;padding-left:10px;margin-left:310px;margin-top: 20px; "/> 
			 </p>
			 <p class="change_link">
			 </p>
		</form>
</div>
</div>
</div>

<%@ include file="footer.jsp"%>